package com.hyts.xmlparser.convert.global;

import com.thoughtworks.xstream.converters.Converter;
import com.thoughtworks.xstream.converters.MarshallingContext;
import com.thoughtworks.xstream.converters.UnmarshallingContext;
import com.thoughtworks.xstream.io.HierarchicalStreamReader;
import com.thoughtworks.xstream.io.HierarchicalStreamWriter;

/**
 * project-name:coffice-toolbox
 * package-name:com.hyts.xmlparser.convert
 * author:Libo/Alex
 * create-date:2019-07-18 13:26
 * email:liboware@gmail.com
 * description:此类主要用于:
 */
public class DateTimeConverter implements Converter{

    @Override
    public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) {

    }

    @Override
    public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) {
        return null;
    }

    @Override
    public boolean canConvert(Class type) {
        return false;
    }
}
